
import { createRouter, createWebHistory } from "vue-router";

import Props from "@/components/props/props.vue";
import zdingyi1 from "@/components/zdingyi/zdingyi1.vue";
import mitt from "@/components/mitt/mitt.vue";
import Father from "@/components/v-model/Father.vue";
import attrs from "@/components/_$attrs/attrs.vue";
import FaTher2 from "@/components/_$refs-$parent/Father2.vue";
import Father3 from "@/components/provide-inject/Father2.vue";
import Count from "@/components/pinia/components/Count.vue";
import Father4 from "@/components/slot/Father.vue";
const router = createRouter({
    history: createWebHistory(),
    routes: [
        {
            path: '/',
            name: 'Props',
            component: Props
        },
        {
            path: '/zdingyi1',
            component: zdingyi1
        },
        {
            path: '/mitt',
            component: mitt
        },
        {
            path: '/Father',
            component: Father
        },
        {
            path: '/attrs',
            component: attrs
        },
        {
            path: '/FaTher2',
            component: FaTher2
        },
        {
            path: '/Father3',
            component: Father3
        },
        {
            path: '/Count',
            component: Count
        },
        {
            path: "/Father4",
            component: Father4
        }
    ]
})

export default router